<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>数据交换系统管理-推送数据到法人库</title>

    <!-- Bootstrap Core CSS -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/bootstrap-switch.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="../css/sb-admin.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <style>
        #top{
            width: 100%;
            background: url("../img/banner.jpg") no-repeat 100% 100%;
        }
        .logo{
            width: 440px;
            border: none;
            background: url("../img/logo-.png") no-repeat 100% 100%;
        }
    </style>
</head>

<body>

<div id="wrapper">

    <!-- Navigation -->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header" id="top">
            <div class="logo"></div>
            <a class="navbar-brand" href="../module/index.html"></a>

        <!-- Top Menu Items -->
            <ul class="nav navbar-right top-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color: #fff"><i class="fa fa-user"></i> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="../login.html"><i class="fa fa-fw fa-power-off"></i> 退 出</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav side-nav">
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo1"><i class="fa fa-fw fa-arrows-v"></i>法人库信息<i class="fa fa-fw fa-caret-down"></i></a>
                    <ul id="demo1" class="collapse">
                        <li>
                            <a href="../fr/pushDataToMlk.html">推送数据到名录库</a>
                        </li>
                        <li>
                            <a href="../fr/dataComparse.html">数据比对</a>
                        </li>
                        <li>
                            <a href="../fr/fileCabinets.html">文件柜-导出基本信息</a>
                        </li>
                        <li>
                            <a href="../fr/NB_fileCabinets.html">文件柜-导出年报信息</a>
                        </li>
                        <li>
                            <a href="../fr/viewLog.html">查看日志</a>
                        </li>
                    </ul>
                </li>
                <li class="active">
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo2" aria-expanded="true"><i class="fa fa-fw fa-table"></i>名录库信息<i class="fa fa-fw fa-caret-down"></i></a>
                    <ul id="demo2" class="collapse in" aria-expanded="true">
                        <li>
                            <a class="main-a" href="#">推送数据到法人库</a>
                        </li>
                        <li>
                            <a href="fillAndImportExcel.html">在线填报和导入Excel</a>
                        </li>
                        <li>
                            <a href="viewPushLog.html">查看推送日志</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a class="main-a" href="../userManagement.html"><i class="fa fa-fw fa-wrench"></i>用户管理</a>
                </li>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </nav>

    <div id="page-wrapper">

        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">
                        推送数据到法人库
                    </h1>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <!--<div class="col-md-1 margin-left">
                        <ul class="panel nav body-background">
                            <div class="checkbox">
                                <label>
                                    <input id="check-all" type="checkbox">全选
                                </label>
                            </div>
                        </ul>
                    </div>-->
                    <div class="col-md-3" style="display: none">
                        <ul class="panel nav">
                            <div class="input-group">
                                <span class="input-group-addon dropColor">开始时间</span>
                                <input type="date" id="start-time" class="form-control" placeholder="请输入开始时间">
                            </div>
                        </ul>
                    </div>
                    <div class="col-md-3 margin-left" style="display: none">
                        <ul class="panel nav">
                            <div class="input-group">
                                <span class="input-group-addon dropColor">结束时间</span>
                                <input type="date" id="end-time" class="form-control" placeholder="请输入结束时间">
                            </div>
                        </ul>
                    </div>

                    <div class="col-md-2">
                        <!--<button type="submit" id="csData" class="btn btn-default pull-right dropColor margin-top-f1 no-border">开始导出XML</button>-->
                        <ul class="panel nav">
                            <li class="dropdown">
                                <a href="#" id="start-push" class="dropdown-toggle dropColor" data-toggle="modal">开始手动推送</a>
                            </li>
                        </ul>
                    </div>

                    <div class="col-md-2 margin-left">
                        <ul class="panel nav">
                            <li class="dropdown">
                                <a href="#" style="background-color: #b3a600" class="dropdown-toggle dropColor" data-toggle="modal" data-target="#myModal">设置定时推送</a>
                                <!-- 模态框（Modal） -->
                                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                                    <div class="modal-dialog">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                                <h3 class="modal-title" id="myModalLabel">定时导入数据</h3>
                                            </div>
                                            <div class="modal-body">
                                                <form class="form-horizontal" role="form">
                                                    <div class="form-group">
                                                        <label for="switchs" class="col-sm-4 control-label pull-left">是否开启定时推送功能</label>
                                                        <div class="col-sm-6">
                                                            <div class="switch" data-on="primary" data-off="info" data-on-label="SI" data-off-label="NO">
                                                                <input type="checkbox" id="switchs" name="sfkqdstsan" data-on-label="SI" data-off-label="NO" checked class="switch-btn" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label for="importDate" class="col-sm-3 control-label pull-left">选择导入时间</label>
                                                        <div class="col-sm-6">
                                                            <input class="form-control" id="importDate" type="text" disabled="disabled">
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label for="hour" class="col-sm-3 control-label pull-left">定时精准时间</label>
                                                        <div class="col-sm-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">每天</span>
                                                                <input type="number" class="form-control" min="0" max="23" id="hour" >
                                                                <span class="input-group-addon">时</span>
                                                                <input type="number" class="form-control" min="0" max="59" id="min" >
                                                                <span class="input-group-addon">分</span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>
                                            <div class="modal-footer">
                                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                                <button type="button" id="start-quartz" class="btn btn-primary dropColor">开启自动导出</button>
                                            </div>
                                        </div><!-- /.modal-content -->
                                    </div><!-- /.modal -->
                                </div>
                            </li>
                        </ul>
                    </div>

                    <div class="col-md-3">
                        <ul class="panel nav">
                            <div class="input-group">
                                <input id="del-date" type="date" class="form-control" placeholder="请输入删除时间">
                                <span id="del-but" class="input-group-addon dropColor"
                                      style="cursor: pointer">清除工商库单位信息</span>
                            </div>
                        </ul>
                    </div>

                </div>
            </div>

            <div class="row">
                <div class="col-lg-11">
                    <div class="panel panel-default margin-bottom-0">
                        <div class="table-responsive background-white">
                            <table class="table table-hover border1 body-background">
                                <tbody id="push-data-table">
                                    <tr>
                                        <td class="text-indent"><input type="checkbox"></td>
                                        <td>企业基本信息表</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <!--<button type="submit" id="start-push" class="btn btn-default pull-right dropColor margin-top-f1 no-border">开始推送数据</button>-->
                </div>
            </div>
        </div>
        <!-- /.container-fluid -->

        <footer class="footer col-lg-11 ">
            <br>
            <ul class="list-inline text-center">
                <li><a href="http://www.supermap.com/cn/" target="_blank">技术支持：</a></li><li id="info">北京超图股份有限公司@SuperMap</li>
            </ul>
        </footer>
        <!-- /.container-fluid -->

    </div>
    <!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->

<!-- jQuery -->
<script src="../js/jquery.js"></script>

<script src="pushDataToFrk.js"></script>
<script src="../lib/page/SGIS.Base.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-switch.min.js"></script>
<script src="../js/index.js"></script>
<script>
    $("body").ready($("#info").html(getInfo()));
    function getInfo() {
        var date = new Date();
        return "©1997-"+date.getFullYear()+" 北京超图软件股份有限公司 京ICP备11032883号-1";
    }
</script>
</body>

</html>
